package work.parabola.keyboardswitch.service;

import work.parabola.keyboardswitch.common.ServerResponse;
import work.parabola.keyboardswitch.pojo.query.keyswitch.AddSwitchQuery;
import work.parabola.keyboardswitch.pojo.query.keyswitch.EditSwitchQuery;
import work.parabola.keyboardswitch.pojo.query.keyswitch.ListQuery;

public interface ISwitchService {
    ServerResponse getList(ListQuery listQuery);

    ServerResponse getSwitchDetail(Integer id);

    ServerResponse editSwitch(EditSwitchQuery editSwitchQuery);

    ServerResponse addSwitch(AddSwitchQuery addSwitchQuery);
}
